package Model;

public class Blog {

	private String id;
	private String text;
	private String sourceid;
	private String uptime;
	private String shortmessage;
	
	private int isshow;
	/*
	 create table blog(
	 id varchar(200),
	 text varchar(500),
	 sourceid varchar(200),
	 uptime varchar(200),
	 shortmessage varchar(60),
	 isshow int
	 ); 
	  */
	public String getId() {
		return id;
	}
	public String getUptime() {
		return uptime;
	}
	public void setUptime(String uptime) {
		this.uptime = uptime;
	}
	public String getShortmessage() {
		return shortmessage;
	}
	public void setShortmessage(String shortmessage) {
		this.shortmessage = shortmessage;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getSourceid() {
		return sourceid;
	}
	public void setSourceid(String sourceid) {
		this.sourceid = sourceid;
	}
	public int getIsshow() {
		return isshow;
	}
	public void setIsshow(int isshow) {
		this.isshow = isshow;
	}
	@Override
	public String toString() {
		return "Blog [id=" + id + ", text=" + text + ", sourceid=" + sourceid
				+ ", uptime=" + uptime + ", shortmessage=" + shortmessage
				+ ", isshow=" + isshow + "]";
	}
	
	
}
